package abstractfactory;

/**
 * @author 赵希奥
 * @date 2022/3/16 1:05
 * @gitHub https://github.com/CKXGZXA
 * @gitee https://gitee.com/ckxgzxa
 * @description: 海尔工厂, 充当具体工厂
 */
public class HaierFactory implements HomeApplianceFactory {
    @Override
    public Conditioner createConditioner() {
        return new HaierConditioner();
    }

    @Override
    public Refrigerator createRefrigerator() {
        return new HaierRefrigerator();
    }

    @Override
    public Television createTelevision() {
        return new HaierTelevision();
    }
}
